package com.sinothk.fc.bo.supply.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinothk.fc.bo.supply.entity.BoSupplyEntity;
import com.sinothk.fc.bo.supply.entity.BoSupplyOrderVO;
import com.sinothk.fc.bo.supply.entity.BoSupplyVO;
import com.sinothk.fc.bo.supply.entity.SupplySearchReq;

/**
 * @Description: 商机供应
 * @Author: Liangyt
 * @Date:   2022-10-23
 * @Version: V1.0
 */
public interface BoSupplyMapper extends BaseMapper<BoSupplyEntity> {

    IPage<BoSupplyVO> demandSupplyGoodsForDemandIdPage(Page<BoSupplyEntity> page, String demandId);

    IPage<BoSupplyOrderVO> supplyGoodsOrderPage(Page<BoSupplyEntity> page, SupplySearchReq searchReq);
}
